if exist .\..\DesignPatternsSetups\VS%1\setup.exe (
@echo .\..\DesignPatternsSetups\VS%1\setup.exe does exist
copy /y ".\..\DesignPatternsSetups\TemplateLibrary.zip" ".\..\DesignPatternsSetups\VS%1\TemplateLibrary.zip"
copy /y ".\ReadMe.txt" ".\..\DesignPatternsSetups\VS%1\ReadMe.txt"
zipdir .\..\DesignPatternsSetups\DesignPatterns%1_%2.zip .\..\DesignPatternsSetups\VS%1
del .\..\DesignPatternsSetups\VS%1\TemplateLibrary.zip
del ".\..\DesignPatternsSetups\VS%1\ReadMe.txt"
) else (
@echo ".\..\DesignPatternsSetups\VS%1\setup.exe" does not exist
)

exit /b %ERRORLEVEL%